<!DOCTYPE HTML>
<!--
	Dimension by HTML5 UP
	html5up.net | @ajlkn
	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
 <head>
  <title>
   Dimension by HTML5 UP
  </title>
  <!-- <meta charset="utf-8" /> -->
  <!-- <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" /> -->
  <meta charset="utf-8"/>
  <meta content="width=device-width,initial-scale=1.0" name="viewport"/>
  <link href="../../assets/css/article.css" rel="stylesheet"/>
  <link href="https://cdn.bootcss.com/highlight.js/9.15.8/styles/github.min.css" rel="stylesheet"/>
  <noscript>
   <link href="../../assets/css/noscript.css" rel="stylesheet"/>
  </noscript>
 </head>
 <body>
  <div id="app">
  </div>
  <!-- built files will be auto injected -->
 </body>
 <body class="is-preload">
  <!-- Wrapper -->
  <div id="wrapper">
   <!-- Main -->
   <div id="main">
    <article id="article">
     <h1 id="ctenos7-vim8">
      Ctenos7 vim8 安装
     </h1>
     <hr/>
     <h3 id="github">
      一、GitHub官网下载相应的安装包
     </h3>
     <p>
      https://github.com/vim/vim/releases
     </p>
     <h3 id="_1">
      二、解压安装
     </h3>
     <p>
      按照下面的命令进行安装即可
     </p>
     <div class="codehilite">
      <pre><span></span><code><span class="err">./configure --with-features=huge --enable-multibyte --enable-rubyinterp=yes --enable-pythoninterp=yes --enable-python3interp=yes --prefix=/usr/local/vim8</span>
</code></pre>
     </div>
     <p>
      <em>
       安装后可以命令不能及时识别，运行命令重新加载一下
      </em>
     </p>
     <div class="codehilite">
      <pre><span></span><code><span class="err">source /etc/profile</span>
</code></pre>
     </div>
     <h3 id="python-vim">
      Python vim
     </h3>
     <ul>
      <li>
       pyvim:https://github.com/jonathanslenders/pyvim
      </li>
      <li>
       :!command :退出vim，并执行shell命令command，将命令输出显示在vim的命令区域，不会改变当前编辑的文件的内容
      </li>
     </ul>
     <div class="codehilite">
      <pre><span></span><code><span class="err"># vimrc</span>
<span class="err">set mouse=a </span>
</code></pre>
     </div>
     <h3 id="spf13-vim">
      spf13-vim 配置安装问题
     </h3>
     <div class="codehilite">
      <pre><span></span><code>vim /root/.vimbundle
Replace vundle plugin <span class="s1">'amirh/HTML-AutoCloseTag'</span> with <span class="s1">'heracek/HTML-AuCloseTag</span>
<span class="s1">Plugin '</span>heracek/HTML-AutoCloseTag<span class="s1">', {'</span>name<span class="s1">': '</span>HTML-AutoCloseTag2<span class="s1">'}</span>
<span class="s1">UnBundle '</span>amirh/HTML-AutoCloseTag<span class="err">'</span>
vim +PluginInstall +qall
</code></pre>
     </div>
     <h2 id="_2">
      参考链接
     </h2>
     <ul>
      <li>
       <a href="https://blog.csdn.net/geerniya/article/details/79686408">
        centos7下编译安装vim8，并支持python3
       </a>
      </li>
      <li>
       <a href="vim中执行shell命令小结">
        vim中执行shell命令小结
       </a>
      </li>
      <li>
       <a href="https://github.com/spf13/spf13-vim">
        spf13/spf13-vim
       </a>
      </li>
      <li>
       <a href="https://github.com/andre3k1/spf13-vim/commit/6950b831e38400213be89ebbf6dd0f0f6b7f9d8f">
        andre3k1/spf13-vim
       </a>
      </li>
      <li>
       <a href="https://blog.csdn.net/zhangpower1993/article/details/52184581">
        vim插件管理器：Vundle的介绍及安装（很全）
       </a>
      </li>
     </ul>
    </article>
   </div>
   <!-- Footer -->
   <footer id="footer">
    <p class="copyright">
     © Untitled. Design:
     <a href="https://html5up.net">
      HTML5 UP
     </a>
     .
    </p>
   </footer>
  </div>
  <!-- BG -->
  <div id="bg">
  </div>
  <!-- Scripts -->
  <script src="../assets/js/jquery.min.js">
  </script>
  <script src="../assets/js/browser.min.js">
  </script>
  <script src="../assets/js/breakpoints.min.js">
  </script>
  <script src="../assets/js/util.js">
  </script>
  <script src="../assets/js/main.js">
  </script>
 </body>
</html>
